
#ifndef _DBG_FUNC_H_H
#define _DBG_FUNC_H_H

/*****************************************************************************
* @brief   micro
*****************************************************************************/
#include "sys_init.h"

typedef struct
{
	const char * name;
	void * func;
} func_info_type;

#define DBG_FUN_BASE_EXPORT(fn, level) \
    OBJ_USED const func_info_type __dbg_func_##fn OBJ_SECTION(".dbg_func." level) = \
	{ \
		#fn, \
		(void *)fn,\
	}
	
#define DBG_FUN_EXPORT(fn) 	DBG_FUN_BASE_EXPORT(fn,"2")



#if DBG_EN > 0

#else

#endif

#endif /* _DBG_FUNC_H_H */
